<?php

header("Content-type: text/html; charset=utf-8");
$files = glob('./Upload/*');
// var_dump($files);
if($_GET){
	unlink($files[$_GET["id"]]);
	$message = "删除成功";
 	include './tpl/success.html';
}else{

	$message = "删除失败";
 	include './tpl/error.html';
}
?>